package com.restaurant.service;

import java.util.List;
import com.restaurant.domain.Discountmode;

public interface DiscountmodeService {

   public Discountmode addOrModify( Discountmode objDiscountmode ) throws Exception;
   public Discountmode deleteRecord( Discountmode objDiscountmode ) throws Exception;
   public Discountmode modifyRecord( Discountmode objDiscountmode ) throws Exception;
   public List<Discountmode> loadAll() throws Exception;
   public Discountmode loadByPrimaryKey( Long primaryKey ) throws Exception;
   public Discountmode deleteByPrimaryKey( Long primaryKey ) throws Exception;
   public List<Discountmode> loadByHql( String query ) throws Exception;

}